package com.example.springboot02amqp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.springboot02amqp.model.db.Study;
import com.example.springboot02amqp.vo.BaseResultVO;
import org.springframework.scheduling.annotation.Async;

import java.util.concurrent.Future;

public interface IStudyService extends IService<Study> {
    String getByName(String name);

    void asyncTask();

    @Async("asyncTaskExecutor")
    Future<BaseResultVO<String>> asyncTask(String s);
}
